<%-- 
    Document   : useraddnew
    Created on : Sep 2, 2014, 12:26:37 AM
    Author     : thanhap
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE html>
<tiles:insertTemplate template="/template_admin/TempalteAdmin.jsp">

        <tiles:putAttribute name="titleAdmin">
            ADD NEW USER
	</tiles:putAttribute>
    
            <tiles:putAttribute name="contentadmin">
                <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12">
                        <ol class="breadcrumb">
                            <li class="active">
                                <i class="fa fa-dashboard"></i> Table New User :
                            </li>
                        </ol>
                    </div>
                </div>
                <!-- /.row -->
                <div class="row">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <div class="row">
        <form method="post" id="contactForm" action="${pageContext.request.contextPath}/AddNewServlet">
                    <p ALIGN="CENTER">To add new User enter following information</p>
                    <table class="table">
                        <tbody>
                            <tr>
                                <td><label>User ID:</label></td>
                                <td><input type="text" name="id" id="id" /></td>
                            </tr>
                            <tr>
                                <td><label>UserName:</label></td>
                                <td><input type="text" name="username" id="username" /></td>
                            </tr>
                            <tr>
                                <td><label>PassWord:</label></td>
                                <td><input type="password" name="password" id="password" /></td>
                            </tr>
                            <tr>
                                <td><label>FullName:</label></td>
                                <td><input type="text" name="fullname" id="fullname" /></td>
                            </tr>
                            <tr>
                                <td><label>Email:</label></td>
                                <td><input type="text" name="email" id="email" /></td>
                            </tr>
                            <tr>
                                <td><label>Phone:</label></td>
                                <td><input type="text" name="phone" id="phone" /></td>
                            </tr>
                            <tr>
                                <td><label>Address</label></td>
                                <td><input type="text" name="address" id="address" /></td>
                            </tr>
                            <tr>
                                <td><label>Gender:</label></td>
                                <td><input type="text" name="gender" id="gender" /></td>
                            </tr>
                            <tr>
                                <td><label>Image:</label></td>
                                <td><input type="text" name="image" id="phone" /></td>
                            </tr>
                            <tr>
                                <td><label>Role:</label></td>
                                <td><input type="text" name="role" id="role" /></td>
                            </tr>
                           
                        </tbody>
                    </table></br>
                    <div class="col-lg-12 text-center">
                    <button type="submit" class="btn btn-xl">Add New User</button>
                    </div>
                </form>
                   </div>
                            </div>
                                <div class="panel-footer">
                                    <span><%@include file="adminmanager.jsp"%></span>
                                    <div class="clearfix"></div>
                                </div>
                        </div> 
                                    </div>
                    
                <!-- /.row -->
                    </div>
            </tiles:putAttribute>
</tiles:insertTemplate>

